package msg

//协议标志
var FlagByte byte = 0x7e

//808上行消息ID
type Std808TerminalMsgID uint16

const (
	//终端注册消息
	TerminalReg Std808TerminalMsgID = 0x0100
	//终端鉴权
	TerminalAuth Std808TerminalMsgID = 0x0102
	//终端通用应答
	TerminalGeneralResp Std808TerminalMsgID = 0x0001
	//终端心跳
	TerminalHeart Std808TerminalMsgID = 0x0002
	//终端位置信息汇报
	TerminalLocation Std808TerminalMsgID = 0x0200
)

//808平台消息ID
type Std808PlateformMsgID uint16

const (
	//平台通用应答
	GeneralResp Std808PlateformMsgID = 0x8001
	//终端注册应答
	RegResp Std808PlateformMsgID = 0x8100
)
